﻿@{
    Layout = null;
}
<!DOCTYPE html> 
<html>
    <head>
        <title>@Language.Get("成品现货")</title>
         @Html.Partial("commonMeta")
		<link rel="stylesheet" href="~/css/product_app.css?v=@Wholesaler.Common.Version.Get">
		<link rel="stylesheet" href="~/css/gems_app.css?v=@Wholesaler.Common.Version.Get">
		<link href="~/Css/teamorder.css?v=@Wholesaler.Common.Version.Get" rel="stylesheet"/>
		<link href="~/css/product_add.css?v=@Wholesaler.Common.Version.Get" rel="stylesheet"/>
		<style>
		input[type="radio"]{-webkit-appearance: radio;}
		input[type="checkbox"]{-webkit-appearance: checkbox;}
		.data_box b{font-size:0.5rem}
		.data_box div{padding-left:4px}
		.product_div_bg b{margin: 0;font-size:0.5rem;overflow: hidden;text-overflow:ellipsis;white-space: nowrap;}
		.product_btn_box{width: 100%;height: auto;background-color: #fff;float: right;padding-top: 7px;position: relative;z-index: 11;}
		.check_list_box {position: absolute;top: 0;left: 0;z-index: 100;width: 60px;height:60px;}
		.checkbox{width: 0.75rem;height: 0.75rem;position: absolute;top: 13px;left:13px;z-index: 2;background-image: url(../Images/select.svg);background-size: 100%}
		.checkbox.selected {background-image: url(../Images/selected.svg);}
		.title_tab {height: 30px;line-height: 30px;}
		.title_tab span {width: 50%;text-align: center;float: left;color: #fff;background: #ccc;}
		.stars_tip {font-weight: bold;color: red;}
		.onshelves_btn_box {display: inline-block;min-width: 60px;width: auto;padding: 0 5px;box-sizing: border-box;height: 24px;text-align: center;line-height: 24px;
			cursor: pointer;border: 1px solid #bdbdbd;margin-right: 15px;color: #333;background-color: #fff;}
		.onshelves_btn_li span.active {background-color: #0099FF;color: #fff;}
		.form-inline  label input[type="radio"]{width: 17px;height: 14px;margin-right: 4px;vertical-align: text-top;}
		thead th {padding: 5px 0;background-color: #f5f7ff;}
		table, tr, th, td {border: 1px solid #e6e6e6;border-collapse: collapse;text-align: center;}
		.modify {display: inline-block;padding: 1px 2px;cursor: pointer;margin-right: 5px;border: 1px solid #666;text-align: center;font-size: 14px;
			box-sizing: border-box;}
		</style>
    </head>
    <body>
    	<div class="views">
			<div class="view view-main">
				<div class="navbar">
					<div class="navbar-inner">
						@* 头部start *@
			            <header id="common_header">
			                <div class="menu_icon_box" id="show_menu_btn">
			                	<em class="menu-btn"></em>
			                </div>
			                <div class="menu_icon_box" id="hide_menu_btn">
			                	<em class="colse-nav-btn"></em>
			                </div>			 
			                <h2>@Language.Get("成品库存管理")</h2>
			            </header>
			            @* 头部end *@
			            <div class="subnavbar" style="display: block;padding: 0;height:auto;background-color: #fff;padding-top: 5px;">
			            	<div class="product_btn_box" style="height: auto;">
		                    	<span id="term_app_btn"><a href="#" daata-href="/Customer/RingFilter?team=2">@Language.Get("筛选")</a></span>
		                        <span id="add_btn">@Language.Get("新增")</span>
		                    </div>
							<div class="check_btn_box li_btn_box clearfix">
								<ul>
									<li class="mgmt_rings_location"><button class="search_btn_b" id="edit_place_btn" disabled="disabled">@Language.Get("所在地")</button></li>

									<li class="mgmt_rings_status"><button class="search_btn_b" id="edit_status_btn" disabled="disabled">@Language.Get("状态")</button></li>

									<li class="mgmt_rings_modify_price"><button class="search_btn_b" id="bulk_pricing_btn" disabled="disabled">@Language.Get("调价")</button></li>

									<li class="mgmt_rings_arrival"><button class="search_btn_b" id="edit_arrival_btn" disabled="disabled">@Language.Get("到货")</button></li>

									<li class="mgmt_rings_pay"><button class="search_btn_b" id="edit_payment_btn" disabled="disabled">@Language.Get("付款")</button></li>

									<li class="mgmt_rings_delete"><button class="search_btn_b" id="del_choose_btn" disabled="disabled">@Language.Get("删除")</button></li>
									<li class="mgmt_rings_onoff_line">
										<button class="search_btn_b" id="shelves_btn" disabled="disabled">@Language.Get("上下架")</button>
									</li>

									<li class="mgmtwhite_power">
										<button class="search_btn_b" id="edit_purchase_btn" disabled="disabled">@Language.Get("买价")</button>
									</li>

									<li class="mgmt_rings_styleno"><button class="search_btn_b" id="batch_styleNo" disabled="disabled">@Language.Get("款号")</button></li>

									<li class="mgmt_rings_style"><button class="search_btn_b" id="batch_style" disabled="disabled">@Language.Get("风格")</button></li>

									<li class="mgmt_rings_series"><button class="search_btn_b" id="batch_series" disabled="disabled">@Language.Get("系列")</button></li>

									<li class="mgmt_rings_certtype"><button class="search_btn_b" id="certtype_btn" disabled="disabled">@Language.Get("成品证书")</button></li>

									<li class="mgmt_rings_exchange"><button class="search_btn_b" id="rate_btn" disabled="disabled">@Language.Get("汇率")</button></li>

									<li class="mgmtwhite_rings_tag"><button class="search_btn_b" id="recommend_btn" disabled="disabled">@Language.Get("推荐")</button></li>

								</ul>
							</div>
			            </div>
			            @* 引入菜单 *@
			            @Html.Partial("teammenu")
					</div>
			    </div> 
				<div class="pages navbar-through toolbar-through">
		          	<div data-page="index" class="page">
						<div class="page-content" id="app_no_header">
							<!--内容区start-->
							
                			<div class="product_bg">
								<div class="clear"></div>
			                    @* 库存列表start *@
								<div class="product_container">
								    <div class="products">
								        <ul class="product_list" id="inlays">
								        	
								        </ul>
								        <div class="clear"></div>
										<div id="endload" style="text-align: center;line-height: 26px;font-size: 14px"></div>
								    </div>
								</div>
			                    @* 库存列表end *@
			                </div>
		                
		                <!--内容区end-->
		                
        			 </div>
		       		</div>
		       </div>

	<!--所在地-->
	<div class="popup" id="ModPlace_box">
		<div class="pop pop-radius">
			<span class="colse_popbox close-popup">X</span>
			<h5>@Language.Get("修改所在地")</h5>
			<form class="form-inline clearfix" style="padding: 5px 5px 5px 30px;">
				<div class="form-group">
					<label class="checkbox-inline">@Language.Get("所在地")：</label>
					<select class="form-control" id="place_box"></select>
				</div>
				<div class="confirm">
					<span><input type="button" class="btn btn-danger supbtn cancel close-popup" value="@Language.Get("取消")" /></span>
					<span><input type="button" class="btn btn-danger supbtn" id="place_btn" value="@Language.Get("确定")" /></span>                  <!-- onclick="ModifyPurchaseUserID();" -->
				</div>
			</form>
		</div>
	</div>
	<!--所在地-->
	<!--状态-->
	<div class="popup" id="ModStatus_box">
		<div class="pop pop-radius">
			<span class="colse_popbox close-popup">X</span>
			<h5>@Language.Get("修改状态")</h5>
			<form class="form-inline clearfix" style="padding: 5px 5px 5px 30px;">
				<div class="form-group">
					<label class="checkbox-inline">@Language.Get("状态")：</label>
					<select class="form-control" id="_batchstatus"></select>
				</div>
				<div class="form-group">
					<label  class="checkbox-inline" style="vertical-align: top;">@Language.Get("备注")：</label>
					<textarea name="Remark"   class="form-control" style="height: 100px;width:64%" id="ModStatus_Comments"></textarea>
				</div>
				<p>@Language.Get("备注")：@Language.Get("多选会覆盖原来的备注")</p>
				<div class="confirm">
					<span><input type="button" class="btn btn-danger supbtn cancel close-popup" value="@Language.Get("取消")" /></span>
					<span><input type="button" class="btn btn-danger supbtn" id="status_btn" value="@Language.Get("确定")" /></span>                  <!-- onclick="ModifyPurchaseUserID();" -->
				</div>
			</form>
		</div>
	</div>
	<!--状态-->
	<!-- 调价start-->
	<div class="popup batchDia_box" id="batchDia_box">
		<div class="pop">
			<span class="colse_popbox close-popup">X</span>
			<h5>@Language.Get("调价")</h5>
			<div class="title_tab" id="title_tab">
				<span data-type="1" class="active">@Language.Get("批量调价")</span>
				<span class="allPrice" data-type="2">@Language.Get("统一价")</span>
			</div>
			<form class="form-inline" style="padding: 5px 5px 5px 30px;" id="_modPrice">
				<div class="form-group" style="display: none">
					<label for="OrderID" class="checkbox-inline">@Language.Get("订单")IDs：</label>
					<input type="text" class="form-control" id="_ids">
				</div>
				<div class="form-group modPrice" data-value="1" id="factor">
					<label for="PurchaseSupplier">@Language.Get("倍率")：</label>
					<input class="form-control" type="number" id="_factor" name="factor" placeholder="@Language.Get("倍率")"  />
				</div>
				<div class="form-group modPrice" data-value="2" id="price" style="display: none">

					<label for="PurchaseSupplier">@Language.Get("原￥/件")：</label>
					<input class="form-control" type="number" id="_Price" name="Price" placeholder="@Language.Get("原￥/件")"  />
				</div>
				<br />
				<div class="confirm">
					<span><input type="button" class="btn btn-danger supbtn cancel close-popup" value="@Language.Get("取消")" /></span>
					<span><input type="button" class="btn btn-danger supbtn" id="batchDia" value="@Language.Get("确定")" /></span>
				</div>
			</form>
		</div>
	</div>
	<!--调价end -->
				<!--到货-->
				<div class="popup" id="arrival_box">
					<div class="pop pop-radius">
						<span class="colse_popbox close-popup">X</span>
						<h5>@Language.Get("到货")</h5>
						<form class="form-inline clearfix" style="padding: 5px 5px 5px 30px;">
							<div class="form-group">
								<label class="checkbox-inline">@Language.Get("到货时间")：</label>
								<div class="list-block" style="margin: 0;">
									<ul>
										<li>
											<div class="item-content" style="padding-left: 0;">
												<div class="item-inner">
													<div class="item-input">
														<input type="text" class="date_input" placeholder="@Language.Get("选择日期")" readonly id="arrival_time">
													</div>
												</div>
											</div>
										</li>
									</ul>
								</div>
							</div>
							<div class="confirm">
								<span><input type="button" class="btn btn-danger supbtn cancel close-popup" value="@Language.Get("取消")" /></span>
								<span><input type="button" class="btn btn-danger supbtn" id="arrival_btn" value="@Language.Get("确定")" /></span>                  <!-- onclick="ModifyPurchaseUserID();" -->
							</div>
						</form>
					</div>
				</div>
				<!--到货-->
				<!--付款-->
				<div class="popup" id="pay_box">
					<div class="pop pop-radius">
						<span class="colse_popbox close-popup">X</span>
						<h5>@Language.Get("付款")</h5>
						<form class="form-inline" style="padding: 5px 5px 5px 30px;" method="post" id="_receipt">
							<div class="form-group" style="display: none">
								<label for="InventoryID" class="checkbox-inline">InventoryIDs：</label>
								<input type="text" class="form-control" id="">
							</div>
							<div class="form-group">
								<label>应付金额:</label>
								<span class="CurrentUSD"><b class="check_four stars_tip" id="_receipt_usd"></b>$</span>
								<span class="RMBorUSD" style="">&nbsp;&nbsp;&nbsp;或&nbsp;&nbsp;&nbsp;</span>
								<span class="CurrentRMB"><b class="check_fiv stars_tip" id="_receipt_rmb">0</b>￥</span>
							</div>
							<div class="form-group">
								<label for="BankID">付款账户:</label>
								<select id="_receiptBankID" class="form-control" name="BankID">
								</select>
								<!--<a title="部分付款"  onclick="PayAmountNum();">部分付</a>-->
							</div>
							<div class="form-group">
								<label>付款日期:</label>
								<div class="list-block" style="margin: 0;">
									<ul>
										<li>
											<div class="item-content" style="padding-left: 0;">
												<div class="item-inner">
													<div class="item-input">
														<input type="text" name="ArrivalTime" class="form-control date_input" placeholder="@Language.Get("选择日期")" readonly id="receiptarrivalTime">
													</div>
												</div>
											</div>
										</li>
									</ul>
								</div>
							</div>
							<div class="confirm">
								<span><input type="button" class="btn btn-danger supbtn cancel close-popup" name="qx" value="@Language.Get("取消")" /></span>
								<input type="submit" class="btn btn-danger supbtn" id="pay_box_btn" value="确定" />
							</div>
						</form>
					</div>
				</div>
				<!--付款-->
				<!-- 上下架start-->
				<div class="popup" id="shelves_box">
					<div class="pop pop-radius">
						<span class="colse_popbox close-popup">X</span>
						<h5>@Language.Get("上下架")</h5>
						<form class="form-inline" id="shelves_form" style="padding: 5px 5px 5px 30px;" method="post">
							<div class="form-group" style="display: block;">
								<label>@Language.Get("上下架")：</label>
								<div class="onshelves_btn_li" id="form_shelves_choose" style="display: inline-block;">
									<span class="onshelves_btn_box active" data-type="1">@Language.Get("上架")</span>
									<span class="onshelves_btn_box" data-type="0">@Language.Get("下架")</span>
								</div>
							</div>
							<div class="confirm">
								<span><input type="button" class="btn btn-danger supbtn cancel close-popup" name="qx" value="@Language.Get("取消")" /></span>
								<input type="button"  id="shelves_form_btn" class="btn btn-danger supbtn" value="@Language.Get("确定")"/>
							</div>
						</form>
					</div>
				</div>
				<!--上下架end -->
				<!-- 修改买价start -->
				<div class="popup" id="ModPurchasePrice_box">
					<div class="pop pop-radius" >
						<span class="colse_popbox close-popup">X</span>
						<h5>@Language.Get("修改买价")</h5>
						<form class="form-inline " style="padding: 5px 5px 5px 30px;" method="post" id="_modPurchasePrice">
							<div class="form-group" style="display: block;margin-left:90px">
								<label for="Discount_check">
									<input  type="radio" value="2" name="origin_radio_form"  data-val="2" id="origin_radio_purchaseRMB" onchange="PurchaseRMBChange()" />@Language.Get("采￥")
								</label>
								<label for="DiscountReturn_check" style="margin-left:20px">
									<input type="radio" value="1" name="origin_radio_form" data-val="1" checked="checked" id="origin_radio_purchaseUSD" onchange="PurceaseUSDChange()" />@Language.Get("采$")&nbsp;&nbsp;&nbsp;
								</label>
							</div>
							<div class="form-group" id="Discount_box">
								<label for="Discount">@Language.Get("采￥"):</label>
								<input  style="margin-left:18px;width:200px" name="PurchaseRMB" class="form-control" id="purchaseRMB_inp" value="" type="number" />
							</div>
							<div class="form-group" id="DiscountReturn_box" style="display:none">
								<label for="DiscountReturn">@Language.Get("采$"):</label>
								<input class="form-control" name="PurchaseUSD" id="purchaseUSD_inp" type="number" value="" style="margin-left:18px;width:200px;" />
							</div>
							<div class="confirm">
								<span><input type="button" class="btn btn-danger supbtn cancel close-popup" name="qx" value="@Language.Get("取消")" /></span>
								<input type="submit" class="btn btn-danger supbtn" id="ModPurchasePrice_btn" value="@Language.Get("确定")" />
							</div>
						</form>
					</div>
				</div>
				<!-- 修改买价end -->

				<!--批量修改 款号start-->
				<div class="popup" id="batch_styleNo_box">
					<div class="pop pop-radius">
						<span class="colse_popbox close-popup">X</span>
						<h5>@Language.Get("修改款号")</h5>
						<form class="form-inline" style="padding: 5px 5px 5px 30px;" method="post" id="_modStyleNo">
							<div class="form-group" style="margin-left:28px">
								<label for="Place">@Language.Get("款号")：</label>
								<input type="text" class="form-control" name="StyleNo" id="_batchStyleNo"/>
							</div>
							<div class="confirm">
								<span><input type="button" class="btn btn-danger supbtn cancel close-popup" name="qx" value="@Language.Get("取消")" /></span>
								<input type="submit" class="btn btn-danger supbtn" id="ModStyleNo_btn" value="@Language.Get("确定")" />
							</div>
						</form>
					</div>
				</div>
				<!--批量修改款号end-->

				<!--批量修改风格start-->
				<div class="popup" id="batch_style_box">
					<div class="pop pop-radius">
						<span class="colse_popbox close-popup">X</span>
						<h5>@Language.Get("修改风格")</h5>
						<form class="form-inline" style="padding: 5px 5px 5px 30px;" method="post" id="_modStyle">
							<div class="form-group" style="margin-left:28px;">
								<label for="Place">@Language.Get("风格")：</label>
								<select class="form-control" name="Style" id="_batchStyle">
								</select>
							</div>
							<div class="confirm">
								<span><input type="button" class="btn btn-danger supbtn cancel close-popup" name="qx" value="@Language.Get("取消")" /></span>
								<input type="button" class="btn btn-danger supbtn" id="ModStyle_btn" value="@Language.Get("确定")" />
							</div>
						</form>
					</div>
				</div>
				<!--批量修改风格end-->


				<!--批量修改 系列start-->
				<div class="popup" id="batch_series_box">
					<div class="pop pop-radius" >
						<span class="colse_popbox close-popup">X</span>
						<h5>@Language.Get("修改系列")</h5>
						<form class="form-inline" style="padding: 5px 5px 5px 30px;" method="post" id="_modSeries">
							<div class="form-group" style="margin-left:28px">
								<label for="Place">@Language.Get("系列")：</label>
								<input type="text" class="form-control" name="Series" id="_batchSeries"/>
							</div>
							<div class="confirm">
								<span><input type="button" class="btn btn-danger supbtn cancel close-popup" name="qx" value="@Language.Get("取消")" /></span>
								<input type="submit" class="btn btn-danger supbtn" id="ModSeries_btn" value="@Language.Get("确定")" />
							</div>
						</form>
					</div>
				</div>
				<!--批量修改系列end-->

				<!-- 修改成品证书start -->
				<div class="popup" id="batch_certtype_box">
					<div class="pop pop-radius">
						<span class="colse_popbox close-popup">X</span>
						<h5>@Language.Get("修改成品证书")</h5>
						<form class="form-inline" style="padding: 5px 5px 5px 30px;" method="post" id="_modcerttype">
							<div class="form-group" style="margin-left:28px">
								<label for="Place">@Language.Get("成品证书")：</label>
								<input type="text" class="form-control" name="certtype" id="_batchcerttype"/>
							</div>
							<div class="confirm">
								<span><input type="button" class="btn btn-danger supbtn cancel close-popup" name="qx" value="@Language.Get("取消")" /></span>
								<input type="submit" class="btn btn-danger supbtn" id="Modcerttype_btn" value="@Language.Get("确定")" />
							</div>
						</form>
					</div>
				</div>
				<!-- 修改成品证书end -->

                <!-- 修改汇率start -->
                <div class="popup" id="ModRate_box">
                    <div class="pop pop-radius" >
                        <span class="colse_popbox close-popup">X</span>
                        <h5>@Language.Get("修改汇率")</h5>
                        <form class="form-inline" style="padding: 5px 5px 5px 30px;" method="post" id="_modRate">
                            <div class="form-group">
                                <label for="PurchaseSupplier">@Language.Get("汇率")：</label>
                                <input class="form-control" type="number" id="mod_rate" name="value" placeholder="@Language.Get("汇率")"  />
                            </div>
                            <div class="confirm">
                                <input type="button" class="btn btn-danger supbtn cancel" style="margin: 0 0;" value="@Language.Get("取消")"/>
                                <input type="submit" class="btn btn-danger supbtn" id="ModRate_btn" value="@Language.Get("确定")" />
                            </div>
                        </form>
                    </div>
                </div>
                <!-- 修改汇率end -->

                <!-- 修改推荐start -->
                <div class="popup" id="tag_box">
                    <div class="pop pop-radius">
                        <span class="colse_popbox close-popup">X</span>
                        <h5>@Language.Get("推荐")</h5>
                        <div class="title_tab" id="title_tab_recommend">
                            <span class="active" data-type="1">@Language.Get("设置")</span>
                            <span data-type="2">@Language.Get("推荐")</span>
                        </div>
                        <div class="form-group modPrice" data-value="1" id="factor_recommend" style="min-height:150px;height: auto">
                            <form class="home_form" id="recommend_form">

                            </form>
                            <div style="margin:15px 85px">
                                <input type="submit" class="btn btn-danger supbtn" style="margin: 0px !important;" id="recommend_inp" value="@Language.Get("确定")" />
                            </div>
                        </div>

                        <div class="form-group modPrice" data-value="2" id="price_recommend" style="display: none;min-height:150px;height: auto">
                            <table  class="table table-condensed table-bordered" id="recommend_table" style="width:95%;margin-left:3%">
                                <thead id="recommend_thead" style="width: 100%">
                                <tr style="color:#555">
                                    <th>推荐</th>
                                    <th>排序</th>
                                    <th>启用</th>
                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody id="recommend_body">
                                </tbody>
                            </table>
                            <form class="form-inline" style="padding: 0px 5px 5px 35px;" id="_recommend">
                                <div class="form-group" style="color:#555;">
                                    <input type="input" style="width:45%;float:left" class="form-control" name="Recommends" placeholder="推荐名称" id="recommend" data-id=""/>
                                    <input type="button" style="margin-left:30px;" class="btn btn-danger supbtn addRecommend" onclick="mobileDia()"  value="@Language.Get("添加")" />
                                   <div style="clear:both"></div>
                                    <input type="checkbox" style="width:5%" checked="checked" id="remember_recommend" />@Language.Get("是否启用")
								</div>
                        </form>
                    </div>
                </div>
            </div>
            <!-- 推荐end -->



			</div>
		</div>


    </body>
    
</html>
@Html.Partial("commonTeamJs")
<script>
	var APP=is_app();
	var PARAMS=@Html.Raw(ViewBag.Param);
</script>
<script src="~/Js/jquery.validate.min.js"></script>
<script src="~/js/team/product.js?v=@Wholesaler.Common.Version.Get" type="text/javascript"></script>
<script src="~/js/customer/rings.js?v=@Wholesaler.Common.Version.Get" type="text/javascript"></script>
<script src="~/js/team/scrollProduct.js?v=@Wholesaler.Common.Version.Get" type="text/javascript"></script> <!-- 预加载-->

